@echo off
echo Starting ngrok with different region...
echo.

REM Stop existing tunnels
taskkill /f /im ngrok.exe >nul 2>&1
timeout /t 2 /nobreak >nul

echo Starting ngrok tunnel to port 5173 (Asia Pacific region)...
start "ngrok-ap" cmd /k "ngrok.exe http 5173 --region=ap"

echo.
echo Tunnel started with Asia Pacific region
echo This may help avoid endpoint conflicts
echo Visit http://localhost:4040 to get the new address
echo.

pause
